#include "message.h"

char* MRegister_GetNickname(PM_REGISTER p) {
	return p->nickname;
}

bool MRegisterResult_IsSuccess(PM_REGISTERRESULT p) {
	return p->issuccess;
}
BYTE MRegisterResult_GetNMember(PM_REGISTERRESULT p) {
	return p->nMember;
}

char* MNewMem_GetNickname(PM_NEWMEM p) {
	return p->nickname;
}

BYTE MStart_GetMark(PM_START p) {
	return p->mark;
}

wchar_t* MQuestion_GetQuestion(PM_QUESTION p) {
	return p->question;
}

wchar_t* MQuestion_GetChoice1(PM_QUESTION p) {
	return p->choice1;
}

wchar_t* MQuestion_GetChoice2(PM_QUESTION p) {
	return p->choice2;
}

wchar_t* MQuestion_GetChoice3(PM_QUESTION p) {
	return p->choice3;
}

wchar_t* MQuestion_GetChoice4(PM_QUESTION p) {
	return p->choice4;
}

BYTE MChoie_GetChoice(PM_CHOICE p) {
	return p->choice;
}

BYTE MAnswerAndMark_GetAnswer(PM_ANSWERANDMARK p) {
	return p->answer;
}

BYTE MAnswerAndMark_GetMark(PM_ANSWERANDMARK p) {
	return p->mark;
}

char* MUpdateList_GetQuitNickname(PM_UPDATELIST p) {
	return p->quitnickname;
}

BYTE MFinalMark_GetMark(PM_FINALMARK p) {
	return p->finalmark;
}

char* MFinalMark_GetNicknameWinner(PM_FINALMARK p) {
	return p->nicknamewinner;
}